﻿package {
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	import flash.events.*;
	import flash.text.*

	/**
	 * For input 
	 **/
	public class intext extends Sprite {
		public var in_text:TextField;
		
		public function intext() {
			init();
		}
		//ser input property
		private function init():void {
			in_text = new TextField();
			in_text.text="請在此輸入";
			in_text.border=true;
			in_text.y=300;
			in_text.width=250;
			in_text.height=20;
			in_text.maxChars=40
			in_text.type=TextFieldType.INPUT;
			addChild(in_text);
		}

	}

}